//
//  FindTravellingMenuDestinationModel.m
//  AroundTheWorld
//
//  Created by dllo on 16/5/26.
//  Copyright © 2016年 IfelseGo an. All rights reserved.
//

#import "FindTravellingMenuDestinationModel.h"
#import "FindTravellingMenuDestinationPlaceModel.h"

@implementation FindTravellingMenuDestinationModel

- (void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

- (void)setPlace:(NSMutableArray *)place
{
    _place = place;
    NSMutableArray *array = [NSMutableArray array];
    for (NSDictionary *dic in _place) {
        FindTravellingMenuDestinationPlaceModel *model = [[FindTravellingMenuDestinationPlaceModel alloc] init];
        [model setValuesForKeysWithDictionary:dic];
        [array addObject:model];
    }
    _place = [NSMutableArray arrayWithArray:array];
}

@end
